<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>玉米商业信息管理</title>

    <link href="../css/bootstrap.min.css" rel="stylesheet">
    <link href="../font-awesome/css/font-awesome.css" rel="stylesheet">
    <!-- Data Tables -->
    <link href="../css/plugins/dataTables/dataTables.bootstrap.css" rel="stylesheet">
    <link href="../css/plugins/dataTables/dataTables.responsive.css" rel="stylesheet">
    <link href="../css/plugins/dataTables/dataTables.tableTools.min.css" rel="stylesheet">
    <link href="../css/animate.css" rel="stylesheet">
    <link href="../css/style.css" rel="stylesheet">

    <style>
        #page-wrapper
        {
            margin: 0 0 0 0px;
        }
        h1
        {
            font-size: 60px;
        }
    </style>
</head>
<body>
<div id="wrapper">
    <div id="page-wrapper" class="gray-bg">

        <!-- pageHead start -->
        <div class="row wrapper border-bottom white-bg page-heading">
            <div class="col-lg-10">
                <h2>客户管理</h2>
                <ol class="breadcrumb">
                    <li>
                        <a href="index.html">首页</a>
                    </li>
                    <li>
                        <a href="logisticsUpasAdd.jsp">客户信息</a>
                    </li>
                </ol>
            </div>
        </div>
        <!-- pageHead end -->

        <!-- pageContext start -->
        <div class="row">

            <div class="col-lg-6">
                <h4>区域分布</h4>
                <div>
                    <table class="table">
                        <tbody>
                        <tr>
                            <td>
                                <button type="button" class="btn btn-danger m-r-sm">12</button>
                                北京
                            </td>
                            <td>
                                <button type="button" class="btn btn-primary m-r-sm">28</button>
                                上海
                            </td>
                            <td>
                                <button type="button" class="btn btn-info m-r-sm">15</button>
                                河南
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <button type="button" class="btn btn-info m-r-sm">20</button>
                                河北
                            </td>
                            <td>
                                <button type="button" class="btn btn-success m-r-sm">40</button>
                                东北
                            </td>
                            <td>
                                <button type="button" class="btn btn-danger m-r-sm">30</button>
                                Notifications
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <button type="button" class="btn btn-warning m-r-sm">20</button>
                                Albums
                            </td>
                            <td>
                                <button type="button" class="btn btn-default m-r-sm">40</button>
                                Groups
                            </td>
                            <td>
                                <button type="button" class="btn btn-warning m-r-sm">30</button>
                                Permissions
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </div>
                <div class="col-md-3" align="center">
                    <button type="button" class="btn btn-primary btn-block compose-mail" data-toggle="modal" data-target="#myModal6">
                        <i class="fa fa-plus"></i>&nbsp;&nbsp;新增客户</a>
                    </button>
                </div>
            </div>

            <div class="col-sm-5 col-sm-offset-1">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>VIP客户</h5>
                        <div class="ibox-tools">
                            <a class="collapse-link">
                                <i class="fa fa-chevron-up"></i>
                            </a>
                            <a class="close-link">
                                <i class="fa fa-times"></i>
                            </a>
                        </div>
                    </div>
                    <div class="ibox-content">
                        <table class="table table-hover no-margins">
                            <thead>
                            <tr >
                                <th>名称</th>
                                <th>主要货源</th>
                                <th>联系电话</th>
                                <th>地址</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr>
                                <td><small>Pending...</small></td>
                                <td><i class="fa fa-clock-o"></i> 11:20pm</td>
                                <td>Samantha</td>
                                <td class="text-navy">已完成 </td>
                            </tr>
                            <tr>
                                <td><span class="label label-warning">Canceled</span> </td>
                                <td><i class="fa fa-clock-o"></i> 10:40am</td>
                                <td>Monica</td>
                                <td class="text-navy label-warning-son">未上货 <!-- <i class="fa fa-level-up"></i> 66%  --></td>
                            </tr>
                            <tr>
                                <td><small>Pending...</small> </td>
                                <td><i class="fa fa-clock-o"></i> 01:30pm</td>
                                <td>John</td>
                                <td class="text-navy">已完成</td>
                            </tr>
                            <tr>
                                <td><small>Pending...</small> </td>
                                <td><i class="fa fa-clock-o"></i> 02:20pm</td>
                                <td>Agnes</td>
                                <td class="text-navy">已完成</td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>

            <div class="col-lg-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>客户信息</h5>
                        <div class="ibox-tools">
                            <a class="collapse-link">
                                <i class="fa fa-chevron-up"></i>
                            </a>
                            <ul class="dropdown-menu dropdown-user">
                                <li><a href="#">Config option 1</a>
                                </li>
                                <li><a href="#">Config option 2</a>
                                </li>
                            </ul>
                        </div>
                    </div>
                    <div class="ibox-content">
                        <div class="table-responsive">
                            <table class="table table-striped table-bordered table-hover dataTables-example">
                                <thead>
                                <tr>
                                    <th>客户编号</th>
                                    <th>客户姓名</th>
                                    <th>联系方式</th>
                                    <th>客户所在地</th>
                                    <th>详细地址</th>
                                    <th>备注</th>
                                    <th>操作</th>
                                </tr>
                                </thead>
                                <tbody>
                                <c:forEach items="${Custom}" var="i">
                                    <tr class="gradeU">
                                        <td>${i.cid}</td>
                                        <td>${i.cname}</td>
                                        <td>${i.ctelephone}</td>
                                        <td>${i.clocation}</td>
                                        <td>${i.cdetailaddress}</td>
                                        <td>${i.cremark}</td>
                                        <td><a href="updateAndAdd.html">修改</a> | <a href="customDel.do?cid=${i.cid}">删除</a><td>
                                    </tr>
                                </c:forEach>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>

        </div>
        <!-- pageContext end  -->

            <!-- Mainly scripts -->
            <script src="../js/jquery-2.1.1.js"></script>
            <script src="../js/bootstrap.min.js"></script>
            <script src="../js/plugins/metisMenu/jquery.metisMenu.js"></script>
            <script src="../js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
            <script src="../js/plugins/jeditable/jquery.jeditable.js"></script>


            <!-- Custom and plugin javascript -->
            <script src="../js/plugins/pace/pace.min.js"></script>

            <!-- Page-Level Scripts -->
            <style>
                body.DTTT_Print {
                    background: #fff;

                }

                .DTTT_Print #page-wrapper {
                    margin: 0;
                    background: #fff;
                }

                button.DTTT_button, div.DTTT_button, a.DTTT_button {
                    border: 1px solid #e7eaec;
                    background: #fff;
                    color: #676a6c;
                    box-shadow: none;
                    padding: 6px 8px;
                }

                button.DTTT_button:hover, div.DTTT_button:hover, a.DTTT_button:hover {
                    border: 1px solid #d2d2d2;
                    background: #fff;
                    color: #676a6c;
                    box-shadow: none;
                    padding: 6px 8px;
                }

                .dataTables_filter label {
                    margin-right: 5px;

                }
            </style>
</body>
</html>